package com.xdf.zipperdye.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Plan implements Serializable {
    private Integer iid;

    private Integer parent_id;

    private String bill_code;

    private Date bill_date;

    private String client_sid;

    private String client_name;

    private String order_code;

    private String product_sid;

    private String color;

    private String color_code;

    private String color_block;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date delivery_date;

    private Integer amount;

    private BigDecimal kilo;

    private BigDecimal meter;

    private String remark;

    private String userid;

    private String username;

    private Date create_time;

    private Float QtyFact;
    private Float PiShuFact;
    private Integer state;
    private Integer finished;
    private Integer print_count;

    private Date nullify_time;
    private String nullify_remark;
    private String nullify_operator;
    private String nullify_ip;

    private static final long serialVersionUID = 1L;

    public String getBill_code() {
        return bill_code;
    }

    public void setBill_code(String bill_code) {
        this.bill_code = bill_code;
    }

    public void setNullify_ip(String nullify_ip) {
        this.nullify_ip = nullify_ip;
    }

    public Date getNullify_time() {
        return nullify_time;
    }

    public void setNullify_time(Date nullify_time) {
        this.nullify_time = nullify_time;
    }

    public String getNullify_remark() {
        return nullify_remark;
    }

    public void setNullify_remark(String nullify_remark) {
        this.nullify_remark = nullify_remark;
    }

    public String getNullify_operator() {
        return nullify_operator;
    }

    public void setNullify_operator(String nullify_operator) {
        this.nullify_operator = nullify_operator;
    }

    public String getNullify_ip() {
        return nullify_ip;
    }

    public String getColor_block() {
        return color_block;
    }

    public void setColor_block(String color_block) {
        this.color_block = color_block;
    }

    public Float getQtyFact() {
        return QtyFact;
    }

    public void setQtyFact(Float qtyFact) {
        QtyFact = qtyFact;
    }

    public Float getPiShuFact() {
        return PiShuFact;
    }

    public void setPiShuFact(Float piShuFact) {
        PiShuFact = piShuFact;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getFinished() {
        return finished;
    }

    public void setFinished(Integer finished) {
        this.finished = finished;
    }

    public Integer getPrint_count() {
        return print_count;
    }

    public void setPrint_count(Integer print_count) {
        this.print_count = print_count;
    }

    public Integer getParent_id() {
        return parent_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    public String getColor_code() {
        return color_code;
    }

    public void setColor_code(String color_code) {
        this.color_code = color_code;
    }

    public Date getDelivery_date() {
        return delivery_date;
    }

    public void setDelivery_date(Date delivery_date) {
        this.delivery_date = delivery_date;
    }

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public Date getBill_date() {
        return bill_date;
    }

    public void setBill_date(Date bill_date) {
        this.bill_date = bill_date;
    }

    public String getClient_sid() {
        return client_sid;
    }

    public void setClient_sid(String client_sid) {
        this.client_sid = client_sid;
    }

    public String getClient_name() {
        return client_name;
    }

    public void setClient_name(String client_name) {
        this.client_name = client_name;
    }

    public String getOrder_code() {
        return order_code;
    }

    public void setOrder_code(String order_code) {
        this.order_code = order_code;
    }

    public String getProduct_sid() {
        return product_sid;
    }

    public void setProduct_sid(String product_sid) {
        this.product_sid = product_sid;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public BigDecimal getKilo() {
        return kilo;
    }

    public void setKilo(BigDecimal kilo) {
        this.kilo = kilo;
    }

    public BigDecimal getMeter() {
        return meter;
    }

    public void setMeter(BigDecimal meter) {
        this.meter = meter;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "Plan{" +
                "iid=" + iid +
                ", parent_id=" + parent_id +
                ", bill_code='" + bill_code + '\'' +
                ", bill_date=" + bill_date +
                ", client_sid='" + client_sid + '\'' +
                ", client_name='" + client_name + '\'' +
                ", order_code='" + order_code + '\'' +
                ", product_sid='" + product_sid + '\'' +
                ", color='" + color + '\'' +
                ", color_code='" + color_code + '\'' +
                ", color_block='" + color_block + '\'' +
                ", delivery_date=" + delivery_date +
                ", amount=" + amount +
                ", kilo=" + kilo +
                ", meter=" + meter +
                ", remark='" + remark + '\'' +
                ", userid='" + userid + '\'' +
                ", username='" + username + '\'' +
                ", create_time=" + create_time +
                ", QtyFact=" + QtyFact +
                ", PiShuFact=" + PiShuFact +
                ", state=" + state +
                ", finished=" + finished +
                ", print_count=" + print_count +
                ", nullify_time=" + nullify_time +
                ", nullify_remark='" + nullify_remark + '\'' +
                ", nullify_operator='" + nullify_operator + '\'' +
                ", nullify_ip='" + nullify_ip + '\'' +
                '}';
    }
}